package appfight.level;

public class LevelFactory {
	
	
	static public GameLevel GetLevel(String levelName)
	{
		GameLevel g = new GameLevel();
		
		if(levelName.equals("StartLevel"))
		{
			g = new GameLevelStartAnimation();
		}
		else if(levelName.equals("GameStartAnimation"))
		{
			g = new GameLevelStartAnimation();
		}
		else if(levelName.equals("MainCharacterHouseFirstFloor"))
		{
			g = new MainCharacterHouseFirstFloor();
		}
		else if(levelName.equals("MainCharacterHouseSecondFloor"))
		{
			g = new MainCharacterHouseSecondFloor();
		}
		else if(levelName.equals("MainTown"))
		{
			g = new MainTown();
		}
		else if(levelName.equals("DoctorHouse"))
		{
			g = new DoctorHouse();
		}
		else if(levelName.equals("ConnectRoom"))
		{
			g = new ConnectRoom();
		}
		
		
		g.LevelName = levelName;
		
		return g;
	}
}
